From 757c11fab7886c7d729c682a387826dd2296925f Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 25 Jun 2005 19:59:25 +0000 Subject: [PATCH] update from Olaf. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@1231 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/pathaway.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gpsbabel/pathaway.c b/gpsbabel/pathaway.c index 26f45147e..ea1fd2a1d 100644 --- a/gpsbabel/pathaway.c +++ b/gpsbabel/pathaway.c @@ -66,7 +66,7 @@ static arglist_t ppdb_args[] = {"dbname", &dbname, "Database name", NULL, ARGTYPE_STRING}, {"deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING}, {"snlen", &snlen_opt, "Length of generated shortnames", NULL, ARGTYPE_INT }, - {0, 0, 0, 0 } + {0, 0, 0, 0, 0 } }; static void @@ -266,7 +266,7 @@ double ppdb_decode_coord(const char *str) if (*str == 'O') german_release = 1; - *tmp = strchr(str, ' '); + tmp = strchr(str, ' '); if ((tmp) && (tmp - str < 4)) { CHECK_INP(3, sscanf(str,"%c%d %lf", &dir, °, &val)); -- 2.30.2